<?php 
$cateGory=new \Common\Model\CateGory;
$cateGoryData=$cateGory->where("pid=0")->get();
?>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/index.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/cate.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/reg.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/login.css"/>
<link rel="icon" type="text/css" href="./Public/Home/images/doov.icon"/>
</head>
<body>
<div id="top_par">
	<div id="top_center">
		<div class="top_left">
			<p>您好，欢迎来到朵唯官方商城</p>
			<div class="doov_app">
				<span>您还可以下载朵唯商城APP</span>
				<div class="doov_erweima">
					<img src="./Public/Home/images/doov_app.jpg"/>
				</div>
			</div>
			<div class="doov_wx">
				<span>关注朵唯微信公众号</span>
				<div class="doov_wxma">
					<img src="./Public/Home/images/doov_wx.jpg"/>
				</div>
			</div>
		</div>
		<div class="top_right">
			
			<li class="login"><a href="{{U('Member/login')}}" target="_blank">登陆</a></li>
			<li><span>|</span></li>
			<li><a href="{{U('Member/reg')}}" target="_blank">注册</a></li>
		
			<div class="car">
				<div>
					<a href="">购物车(0)</a>
				</div>
			</div>
		</div>
	</div>	
</div>

<div id="logo">
	<div id="logo_center">
		<div class="logo_tp">
			<a href=""><img src="./Public/Home/images/logo.png"/></a>
		</div>
		<div class="logo_classify">
			<ul>
				<li><a href="index.php" target="_blank">首页</a></li>
				{{foreach from="$cateGoryData" value="$v"}}
					<li>
						<a href="{{U('CateGory/index',['cid'=>$v['cid']])}}" target="_blank">{{$v['cname']}}</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div class="search">
			<form action="" method="post" class="search_form">
				<input type="text" name="" class="search_text" value="" placeholder="商品搜索"/>
				<input type="submit" name="" class="search_sub" value="" />
			</form>
		</div>
	</div>
</div>	
	
</body>
</html>
